/* pages/cardDetails/cardDetails.wxss */

page {
    box-sizing: border-box;
    background: #f8f8f8;
}
.list{
    margin: 30rpx;
}
.card_style {
    position: relative;
    width: 100%;
    height: 360rpx;
}

.card_img {
    position: relative;
    width: 100%;
    height: 100%;
}

.card_img image {
    width: 100%;
    height: 100%;
    border-radius: 20rpx;
}

.card_text {
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 88rpx 50rpx;
    color: white;
}

.card_name {
    font-size: 38rpx;
    padding-bottom: 90rpx;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.card_time {
    font-size: 26rpx;
}

.headline {
    padding: 20rpx 0;
    color: #333;
    font-size: 32rpx;
    text-align: center;
    position: relative;
}

.headline:after, .headline:before {
    content: "";
    border-top: 1rpx solid #999; /* 上边框 --效果图中的横线就是这里的上边框  */
    display: block;
    position: absolute;
    width: 10%;
    top: 23px; /* 这里的top值= 标题的margin + 字体大小/2 ，*/
}

.headline:before {
    left: 26%; /* 左偏离 */
}

.headline:after {
    right: 26%; /* 右偏离 == 左偏离 */
}

.details_list {
    display: flex;
    font-size: 26rpx;
    padding: 10rpx 0;
}

.details_left {
    color: #999;
	white-space: nowrap;
}

.details_right {
    color: #666;
}

.buy_now {
    box-sizing: border-box;
    color: #fff;
    background: linear-gradient(to right, #ff948a, #ff5c6d);
    border-radius: 50rpx;
    margin: 0 2%;
    position: fixed;
    bottom: 20rpx;
    left: 0;
    width: 96%;
    text-align: center;
    font-size: 34rpx;
    letter-spacing: 2rpx;
    height: 100rpx;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buy_no {
    box-sizing: border-box;
    color: black;
    background: #999;
    border-radius: 50rpx;
    margin: 0 2%;
    padding: 20rpx 0;
    position: fixed;
    bottom: 20rpx;
    left: 0;
    width: 96%;
    text-align: center;
}

.card_num {
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-align: center;
}

.alert-mask {
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
}

.alert-com {
    width: 80%;
    background: #fff;
    position: absolute;
    top: 320rpx;
    left: 10%;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.alert-title {
    text-align: center;
    padding: 20rpx;
    font-size: 36rpx;
}

.Inventory-Box {
    padding: 50rpx 20rpx;
    font-size: 28rpx;
}

.refresh_prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26rpx;
    color: #666;
}

.refresh_prompt image {
    width: 32rpx;
    height: 32rpx;
    margin-right: 20rpx;
}

.list_code {
    text-align: center;
}

.code {
    height: 150rpx;
    line-height: 150rpx;
    font-size: 36rpx;
    font-weight: bold;
    text-align: center;
}

.list_number {
    text-align: center;
    padding: 20rpx;
}

/*以下是转成uniapp后将style改成class*/
.buy-now-opacity{
	opacity:0.7
}